Skip to contentSkip to conversation

New: [bisected] Panic on boot with GK106

Bug 101184 [email protected] 1 participant 15 messages May 25, 2017 – Jun 15, 2017 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101184

Bug ID: 101184
Summary: [bisected] Panic on boot with GK106
Product: xorg
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Driver/nouveau
Assignee: [email protected]
Reporter: sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]
QA Contact: [email protected]

Created attachment 131503
--> https://bugs.freedesktop.org/attachment.cgi?id=131503&action=edit
Transcription of kernel panic

Since e4311ee51d1e2676001b2d8fcefd92bdd79aad85 "drm/nouveau/therm: remove ineffective workarounds for alarm bugs", my machine with a GTX 650 panics on boot. I will attach lspci output and a transcription of the panic, and I can provide more information or test patches as needed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-101184-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 101184] [bisected] Panic on boot with GK106

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #1 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- Created attachment 131504
--> https://bugs.freedesktop.org/attachment.cgi?id=131504&action=edit
output of `lspci -nnnnnnn -vvvvvvvvv'

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|[bisected] Panic on boot    |[NVE6] [bisected] Panic on
                   |with GK106                  |boot with GK106
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #2 from Ben Skeggs <[email protected]> --- That's, uh, rather strange. Is this fully reproducible?

Could I also see a kernel log with "nouveau.debug=debug" from a working kernel?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #3 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- It certainly feels reproducible. I've tested ~20 boots past the listed commit, and ~10 from very close to before it, and if that commit isn't the dividing line, it's doing a very good job of pretending to be. (I agree with you that it looks pretty harmless, though.)

I'm about to attach a dmesg from a working kernel (4.11.0-rc4) with "nouveau.modeset=1 nouveau.config=NvGrUseFW=1 nouveau.debug=debug" (my standard command line has "nouveau.modeset=1 nouveau.config=NvGrUseFW=1" if it matters).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #4 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- Created attachment 131565
--> https://bugs.freedesktop.org/attachment.cgi?id=131565&action=edit
output of dmesg on (working) 4.11.0-rc4 with nouveau.debug=debug

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#7 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #5 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- I just reverted e4311ee51d1e2676001b2d8fcefd92bdd79aad85 on -mainline, and the resulting kernel doesn't panic. It doesn't receive input from any USB devices, but I think that's probably unrelated. :)

Following that, I reset to -mainline, then went through the four changes of the commit and tried reverting them individually. Reverting three of them does nothing, but reverting the change to drivers/gpu/drm/nouveau/nvkm/subdev/therm/fan.c does prevent the panic.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#8 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #6 from Ben Skeggs <[email protected]> --- Created attachment 131704
--> https://bugs.freedesktop.org/attachment.cgi?id=131704&action=edit
test fix

Can you give this patch a try please?

I'm not 100% convinced this is the issue here, but I'd like to rule it in/out. I have identical hardware to a couple of the other reporters of this issue, but have been completely unable to reproduce for unknown reasons.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#9 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #7 from Karol Herbst <[email protected]> --- (In reply to Ben Skeggs from comment #6)

Quoted 8 lines

Created attachment 131704 [details] [review]
test fix

Can you give this patch a try please?

I'm not 100% convinced this is the issue here, but I'd like to rule it in/out. I have identical hardware to a couple of the other reporters of this issue, but have been completely unable to reproduce for unknown reasons.

I can reproduce the issue and I never got the crash with this patch, but I also only tried a few times. Maybe if you ask others with that issue to try it out you get enough confirmations?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#10 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

Karol Herbst <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #8 from Karol Herbst <[email protected]> --- *** Bug 101273 has been marked as a duplicate of this bug. ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#11 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #9 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- (In reply to Ben Skeggs from comment #6)

Quoted 4 lines

Created attachment 131704 [details] [review]
test fix

Can you give this patch a try please?

I built against -mainline just now. Without the patch, I get the panic, and with the patch, I get no panic. I'll call that successful.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#12 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #10 from ingo66 <[email protected]> --- Hello,

I have test the patch for linux 4.11.3 with the driver xf86-video-nouveau 1.0.15 and now my system starts without a kernel panic.

Without the patch only linux < 4.11.3 start correct.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#13 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #11 from [email protected] --- I can also confirm that it fixed the kernel panics for me with the patch applied.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#14 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

--- Comment #12 from [email protected] --- Using kernel 4.11.5 fixed this.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau

#15 lore raw

[Bug 101184] [NVE6] [bisected] Panic on boot with GK106

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=101184

S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/[email protected]> --- It appears the fix has been merged into mainline as b4e382ca7586a63b6c1e5221ce0863ff867c2df6 "drm/nouveau/tmr: fully separate alarm execution/pending lists". I can also confirm that unpatched -mainline now boots
- thank you for the fix!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau